package Observer_Pattern.Cat;

// -*-coding:utf-8 -*-
//人员：刘陆鑫
//班级：19软3
//学号；2019110218
public class Client {
    public static void main(String[] args) {
        AbstractTarget cat=new Cat();
        Observer mouse,master;
        mouse=new Mouse();
        master=new Master();
        cat.attach(mouse);
        cat.attach(master);

        cat.notice();
    }
}
